@extends('common.public')
@section('title', $info['title']."-深圳市峰华科技有限公司")
@section('keyword', $info['keyword'])
@section('content')
<div class="page-banner" >
        <div class="img-banner md:py-5 flex md:items-center" style="background-image:url('/uploads/{{$banner}}');">
            <div class="banner-infos flex flex-wrap items-center w-full md:w-1/2 py-3 px-4">
                <div class="banner-inner py-3 px-4">
                    <div class="page-title w-full  text-4xl mb-5 text-white">{{$info->c_name}}</div>
                </div>
            </div>
        </div>
    </div>
    <div class="page-content">
        <div class="w-full href-hash flex text-sm py-3"> 当前位置:
            <a href="/" title="首页">首页</a><span class="iconfont icon-xiangyou"></span><span>{{$info->c_name}}</span></div>
        <div class="news-list flex flex-wrap">
            @foreach($news as $v)
                <div class="w-full md:w-1/2 lg:w-1/3 flex">
                    <div class="newon p-3 m-2 w-full hover:shadow-lg rounded border items-stretch">
                    <a href="{{$v->url}}" title="{{$v->title}}"> <h3 class="new-titls font-semibold">{{$v->title}}</h3></a>
                    <div class="new-contents">
                        @if($v->thumb!="")<div class=" flex justify-center" style="height:160px;"><img src="/uploads/{{$v->thumb}}" title="{{$v->title}}"  alt=""></div>@endif
                        <div class=" text-gray-500 text-sm" style="">
                            {!! $v->description !!}
                        </div>
                        </div>
                    </div>                
                </div>
            @endforeach
            @foreach($question as $v)
                <div class="w-full md:w-1/2 lg:w-1/3 flex">
                    <div class="newon p-3 m-2 w-full hover:shadow-lg rounded border items-stretch">
                    <a href="{{$v->url}}" title="{{$v->title}}"> <h3 class="new-titls font-semibold">{{$v->title}}</h3></a>
                    <div class="new-contents">
                        <div class=" flex justify-center" style="height:160px;"><img src="/uploads/{{$v->thumb}}" title="{{$v->title}}"  alt=""></div>
                        <div class=" text-gray-500 text-sm" style="">
                            {!! $v->description !!}
                        </div>
                        </div>
                    </div>                
                </div>
            @endforeach
        </div>

    </div>
@endsection